package com.fcscs.cservice.client.common.model.configuration.inroomdining;

import java.util.Collection;
import java.util.Map;

import com.fcscs.core.gwt.common.CoreConstants;
import com.fcscs.core.gwt.common.EntityModelData;

public class ChargeTypeModelData extends EntityModelData<ChargeType> {

	public ChargeTypeModelData(ChargeType t) {
		super(t);
	}

	@Override
	protected void populateNames(Collection<String> tempNames) {
		tempNames.add(CoreConstants.FULLTNAME);
		tempNames.add(CoreConstants.CODE);
	}

	@Override
	protected void populateProps(Map<String, Object> props) {
		props.put(CoreConstants.FULLTNAME, entity.getChargetypeStr());
		props.put(CoreConstants.CODE, entity.getCode());
	}

	@Override
	protected <X> void setProperty(String property, X value) {

	}

}
